package com.zhyt.intelligentpipeline.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName(value = "gas_component_tb")
public class GasComponent {

    @TableId
    private String id;

    @DateTimeFormat(style = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08")
    private Date date;

    private String stationName;

    private String ch4;

    private String c2h6;

    private String c3h8;

    private String nc4h10;

    private String ic4h10;

    private String nc5h12;

    private String ic5h12;

    @TableField("c6_plus")
    private String c6Plus;

    private String n2;

    private String co2;

    private String higherCalorificValue;

    private String calculatedCalorificValue;

    private String sum;

    private String dewPoint;

    private String h2s;

    private String pressureInCarrierCylinder;

    private String outletPressureOfCarrierCylinder;

    private String sampleGasOutletPressure;

    private String pressureInStandardCylinder;

    private String outletPressureOfStandardCylinder;

}
